//
//  AppDelegate.swift
//  WeiBo
//
//  Created by tusm on 2017/6/14.
//  Copyright © 2017年 GM. All rights reserved.
//

import UIKit
import CoreData

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        
        print(UserAccountViewModel.shareUserAccount)
        
        setAppearanceColor()
        
        window = UIWindow(frame: UIScreen.main.bounds)
        
        window?.backgroundColor = UIColor.white
        
        window?.rootViewController = NewFeatureViewController()
        
        window?.makeKeyAndVisible()
        
        
        return true
    }
    
    private func setAppearanceColor(){
        
        UINavigationBar.appearance().tintColor = UIColor.orange
    }

    
}

